package com.itheima.info.manger.system.factory;

import com.itheima.info.manger.system.dao.BaseStudentDao;
import com.itheima.info.manger.system.dao.OtherStudentDao;
import com.itheima.info.manger.system.dao.StudentDao;

public class StudentDaoFactory {

    //有一个可以生产StudentDao 的方法
    //参数  没有参数
    //返回值类型  StudentDao
    public static BaseStudentDao getStudentDao() {
        //return new OtherStudentDao();
       return new StudentDao();
    }

}
